package com.eachonline.smart.model.base;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.eachonline.model.BaseCriteria;
import com.eachonline.model.BaseModelExample;

public class BaseSmartCourseExample extends BaseModelExample {
    protected List<Criteria> oredCriteria;

    public BaseSmartCourseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        super.clear();
        oredCriteria.clear();
    }

    protected abstract static class GeneratedCriteria extends BaseCriteria {

        public Criteria andSidIsNull() {
            addCriterion("sid is null");
            return (Criteria) this;
        }

        public Criteria andSidIsNotNull() {
            addCriterion("sid is not null");
            return (Criteria) this;
        }

        public Criteria andSidEqualTo(String value) {
            addCriterion("sid =", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidNotEqualTo(String value) {
            addCriterion("sid <>", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidGreaterThan(String value) {
            addCriterion("sid >", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidGreaterThanOrEqualTo(String value) {
            addCriterion("sid >=", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidLessThan(String value) {
            addCriterion("sid <", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidLessThanOrEqualTo(String value) {
            addCriterion("sid <=", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidLike(String value) {
            addCriterion("sid like", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidNotLike(String value) {
            addCriterion("sid not like", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidIn(List<String> values) {
            addCriterion("sid in", values, "sid");
            return (Criteria) this;
        }

        public Criteria andSidNotIn(List<String> values) {
            addCriterion("sid not in", values, "sid");
            return (Criteria) this;
        }

        public Criteria andSidBetween(String value1, String value2) {
            addCriterion("sid between", value1, value2, "sid");
            return (Criteria) this;
        }

        public Criteria andSidNotBetween(String value1, String value2) {
            addCriterion("sid not between", value1, value2, "sid");
            return (Criteria) this;
        }

        public Criteria andCourseNameIsNull() {
            addCriterion("course_name is null");
            return (Criteria) this;
        }

        public Criteria andCourseNameIsNotNull() {
            addCriterion("course_name is not null");
            return (Criteria) this;
        }

        public Criteria andCourseNameEqualTo(String value) {
            addCriterion("course_name =", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameNotEqualTo(String value) {
            addCriterion("course_name <>", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameGreaterThan(String value) {
            addCriterion("course_name >", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameGreaterThanOrEqualTo(String value) {
            addCriterion("course_name >=", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameLessThan(String value) {
            addCriterion("course_name <", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameLessThanOrEqualTo(String value) {
            addCriterion("course_name <=", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameLike(String value) {
            addCriterion("course_name like", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameNotLike(String value) {
            addCriterion("course_name not like", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameIn(List<String> values) {
            addCriterion("course_name in", values, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameNotIn(List<String> values) {
            addCriterion("course_name not in", values, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameBetween(String value1, String value2) {
            addCriterion("course_name between", value1, value2, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameNotBetween(String value1, String value2) {
            addCriterion("course_name not between", value1, value2, "courseName");
            return (Criteria) this;
        }

        public Criteria andCoursePriceIsNull() {
            addCriterion("course_price is null");
            return (Criteria) this;
        }

        public Criteria andCoursePriceIsNotNull() {
            addCriterion("course_price is not null");
            return (Criteria) this;
        }

        public Criteria andCoursePriceEqualTo(Double value) {
            addCriterion("course_price =", value, "coursePrice");
            return (Criteria) this;
        }

        public Criteria andCoursePriceNotEqualTo(Double value) {
            addCriterion("course_price <>", value, "coursePrice");
            return (Criteria) this;
        }

        public Criteria andCoursePriceGreaterThan(Double value) {
            addCriterion("course_price >", value, "coursePrice");
            return (Criteria) this;
        }

        public Criteria andCoursePriceGreaterThanOrEqualTo(Double value) {
            addCriterion("course_price >=", value, "coursePrice");
            return (Criteria) this;
        }

        public Criteria andCoursePriceLessThan(Double value) {
            addCriterion("course_price <", value, "coursePrice");
            return (Criteria) this;
        }

        public Criteria andCoursePriceLessThanOrEqualTo(Double value) {
            addCriterion("course_price <=", value, "coursePrice");
            return (Criteria) this;
        }

        public Criteria andCoursePriceIn(List<Double> values) {
            addCriterion("course_price in", values, "coursePrice");
            return (Criteria) this;
        }

        public Criteria andCoursePriceNotIn(List<Double> values) {
            addCriterion("course_price not in", values, "coursePrice");
            return (Criteria) this;
        }

        public Criteria andCoursePriceBetween(Double value1, Double value2) {
            addCriterion("course_price between", value1, value2, "coursePrice");
            return (Criteria) this;
        }

        public Criteria andCoursePriceNotBetween(Double value1, Double value2) {
            addCriterion("course_price not between", value1, value2, "coursePrice");
            return (Criteria) this;
        }

        public Criteria andIsFreeIsNull() {
            addCriterion("is_free is null");
            return (Criteria) this;
        }

        public Criteria andIsFreeIsNotNull() {
            addCriterion("is_free is not null");
            return (Criteria) this;
        }

        public Criteria andIsFreeEqualTo(String value) {
            addCriterion("is_free =", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeNotEqualTo(String value) {
            addCriterion("is_free <>", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeGreaterThan(String value) {
            addCriterion("is_free >", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeGreaterThanOrEqualTo(String value) {
            addCriterion("is_free >=", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeLessThan(String value) {
            addCriterion("is_free <", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeLessThanOrEqualTo(String value) {
            addCriterion("is_free <=", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeLike(String value) {
            addCriterion("is_free like", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeNotLike(String value) {
            addCriterion("is_free not like", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeIn(List<String> values) {
            addCriterion("is_free in", values, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeNotIn(List<String> values) {
            addCriterion("is_free not in", values, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeBetween(String value1, String value2) {
            addCriterion("is_free between", value1, value2, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeNotBetween(String value1, String value2) {
            addCriterion("is_free not between", value1, value2, "isFree");
            return (Criteria) this;
        }

        public Criteria andCourseStartTimeIsNull() {
            addCriterion("course_start_time is null");
            return (Criteria) this;
        }

        public Criteria andCourseStartTimeIsNotNull() {
            addCriterion("course_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andCourseStartTimeEqualTo(Date value) {
            addCriterion("course_start_time =", value, "courseStartTime");
            return (Criteria) this;
        }

        public Criteria andCourseStartTimeNotEqualTo(Date value) {
            addCriterion("course_start_time <>", value, "courseStartTime");
            return (Criteria) this;
        }

        public Criteria andCourseStartTimeGreaterThan(Date value) {
            addCriterion("course_start_time >", value, "courseStartTime");
            return (Criteria) this;
        }

        public Criteria andCourseStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("course_start_time >=", value, "courseStartTime");
            return (Criteria) this;
        }

        public Criteria andCourseStartTimeLessThan(Date value) {
            addCriterion("course_start_time <", value, "courseStartTime");
            return (Criteria) this;
        }

        public Criteria andCourseStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("course_start_time <=", value, "courseStartTime");
            return (Criteria) this;
        }

        public Criteria andCourseStartTimeIn(List<Date> values) {
            addCriterion("course_start_time in", values, "courseStartTime");
            return (Criteria) this;
        }

        public Criteria andCourseStartTimeNotIn(List<Date> values) {
            addCriterion("course_start_time not in", values, "courseStartTime");
            return (Criteria) this;
        }

        public Criteria andCourseStartTimeBetween(Date value1, Date value2) {
            addCriterion("course_start_time between", value1, value2, "courseStartTime");
            return (Criteria) this;
        }

        public Criteria andCourseStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("course_start_time not between", value1, value2, "courseStartTime");
            return (Criteria) this;
        }

        public Criteria andCourseEndTimeIsNull() {
            addCriterion("course_end_time is null");
            return (Criteria) this;
        }

        public Criteria andCourseEndTimeIsNotNull() {
            addCriterion("course_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andCourseEndTimeEqualTo(Date value) {
            addCriterion("course_end_time =", value, "courseEndTime");
            return (Criteria) this;
        }

        public Criteria andCourseEndTimeNotEqualTo(Date value) {
            addCriterion("course_end_time <>", value, "courseEndTime");
            return (Criteria) this;
        }

        public Criteria andCourseEndTimeGreaterThan(Date value) {
            addCriterion("course_end_time >", value, "courseEndTime");
            return (Criteria) this;
        }

        public Criteria andCourseEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("course_end_time >=", value, "courseEndTime");
            return (Criteria) this;
        }

        public Criteria andCourseEndTimeLessThan(Date value) {
            addCriterion("course_end_time <", value, "courseEndTime");
            return (Criteria) this;
        }

        public Criteria andCourseEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("course_end_time <=", value, "courseEndTime");
            return (Criteria) this;
        }

        public Criteria andCourseEndTimeIn(List<Date> values) {
            addCriterion("course_end_time in", values, "courseEndTime");
            return (Criteria) this;
        }

        public Criteria andCourseEndTimeNotIn(List<Date> values) {
            addCriterion("course_end_time not in", values, "courseEndTime");
            return (Criteria) this;
        }

        public Criteria andCourseEndTimeBetween(Date value1, Date value2) {
            addCriterion("course_end_time between", value1, value2, "courseEndTime");
            return (Criteria) this;
        }

        public Criteria andCourseEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("course_end_time not between", value1, value2, "courseEndTime");
            return (Criteria) this;
        }

        public Criteria andCourseIntroIsNull() {
            addCriterion("course_intro is null");
            return (Criteria) this;
        }

        public Criteria andCourseIntroIsNotNull() {
            addCriterion("course_intro is not null");
            return (Criteria) this;
        }

        public Criteria andCourseIntroEqualTo(String value) {
            addCriterion("course_intro =", value, "courseIntro");
            return (Criteria) this;
        }

        public Criteria andCourseIntroNotEqualTo(String value) {
            addCriterion("course_intro <>", value, "courseIntro");
            return (Criteria) this;
        }

        public Criteria andCourseIntroGreaterThan(String value) {
            addCriterion("course_intro >", value, "courseIntro");
            return (Criteria) this;
        }

        public Criteria andCourseIntroGreaterThanOrEqualTo(String value) {
            addCriterion("course_intro >=", value, "courseIntro");
            return (Criteria) this;
        }

        public Criteria andCourseIntroLessThan(String value) {
            addCriterion("course_intro <", value, "courseIntro");
            return (Criteria) this;
        }

        public Criteria andCourseIntroLessThanOrEqualTo(String value) {
            addCriterion("course_intro <=", value, "courseIntro");
            return (Criteria) this;
        }

        public Criteria andCourseIntroLike(String value) {
            addCriterion("course_intro like", value, "courseIntro");
            return (Criteria) this;
        }

        public Criteria andCourseIntroNotLike(String value) {
            addCriterion("course_intro not like", value, "courseIntro");
            return (Criteria) this;
        }

        public Criteria andCourseIntroIn(List<String> values) {
            addCriterion("course_intro in", values, "courseIntro");
            return (Criteria) this;
        }

        public Criteria andCourseIntroNotIn(List<String> values) {
            addCriterion("course_intro not in", values, "courseIntro");
            return (Criteria) this;
        }

        public Criteria andCourseIntroBetween(String value1, String value2) {
            addCriterion("course_intro between", value1, value2, "courseIntro");
            return (Criteria) this;
        }

        public Criteria andCourseIntroNotBetween(String value1, String value2) {
            addCriterion("course_intro not between", value1, value2, "courseIntro");
            return (Criteria) this;
        }

        public Criteria andStudyObejctIsNull() {
            addCriterion("study_obejct is null");
            return (Criteria) this;
        }

        public Criteria andStudyObejctIsNotNull() {
            addCriterion("study_obejct is not null");
            return (Criteria) this;
        }

        public Criteria andStudyObejctEqualTo(String value) {
            addCriterion("study_obejct =", value, "studyObejct");
            return (Criteria) this;
        }

        public Criteria andStudyObejctNotEqualTo(String value) {
            addCriterion("study_obejct <>", value, "studyObejct");
            return (Criteria) this;
        }

        public Criteria andStudyObejctGreaterThan(String value) {
            addCriterion("study_obejct >", value, "studyObejct");
            return (Criteria) this;
        }

        public Criteria andStudyObejctGreaterThanOrEqualTo(String value) {
            addCriterion("study_obejct >=", value, "studyObejct");
            return (Criteria) this;
        }

        public Criteria andStudyObejctLessThan(String value) {
            addCriterion("study_obejct <", value, "studyObejct");
            return (Criteria) this;
        }

        public Criteria andStudyObejctLessThanOrEqualTo(String value) {
            addCriterion("study_obejct <=", value, "studyObejct");
            return (Criteria) this;
        }

        public Criteria andStudyObejctLike(String value) {
            addCriterion("study_obejct like", value, "studyObejct");
            return (Criteria) this;
        }

        public Criteria andStudyObejctNotLike(String value) {
            addCriterion("study_obejct not like", value, "studyObejct");
            return (Criteria) this;
        }

        public Criteria andStudyObejctIn(List<String> values) {
            addCriterion("study_obejct in", values, "studyObejct");
            return (Criteria) this;
        }

        public Criteria andStudyObejctNotIn(List<String> values) {
            addCriterion("study_obejct not in", values, "studyObejct");
            return (Criteria) this;
        }

        public Criteria andStudyObejctBetween(String value1, String value2) {
            addCriterion("study_obejct between", value1, value2, "studyObejct");
            return (Criteria) this;
        }

        public Criteria andStudyObejctNotBetween(String value1, String value2) {
            addCriterion("study_obejct not between", value1, value2, "studyObejct");
            return (Criteria) this;
        }

        public Criteria andUserSidIsNull() {
            addCriterion("user_sid is null");
            return (Criteria) this;
        }

        public Criteria andUserSidIsNotNull() {
            addCriterion("user_sid is not null");
            return (Criteria) this;
        }

        public Criteria andUserSidEqualTo(String value) {
            addCriterion("user_sid =", value, "userSid");
            return (Criteria) this;
        }

        public Criteria andUserSidNotEqualTo(String value) {
            addCriterion("user_sid <>", value, "userSid");
            return (Criteria) this;
        }

        public Criteria andUserSidGreaterThan(String value) {
            addCriterion("user_sid >", value, "userSid");
            return (Criteria) this;
        }

        public Criteria andUserSidGreaterThanOrEqualTo(String value) {
            addCriterion("user_sid >=", value, "userSid");
            return (Criteria) this;
        }

        public Criteria andUserSidLessThan(String value) {
            addCriterion("user_sid <", value, "userSid");
            return (Criteria) this;
        }

        public Criteria andUserSidLessThanOrEqualTo(String value) {
            addCriterion("user_sid <=", value, "userSid");
            return (Criteria) this;
        }

        public Criteria andUserSidLike(String value) {
            addCriterion("user_sid like", value, "userSid");
            return (Criteria) this;
        }

        public Criteria andUserSidNotLike(String value) {
            addCriterion("user_sid not like", value, "userSid");
            return (Criteria) this;
        }

        public Criteria andUserSidIn(List<String> values) {
            addCriterion("user_sid in", values, "userSid");
            return (Criteria) this;
        }

        public Criteria andUserSidNotIn(List<String> values) {
            addCriterion("user_sid not in", values, "userSid");
            return (Criteria) this;
        }

        public Criteria andUserSidBetween(String value1, String value2) {
            addCriterion("user_sid between", value1, value2, "userSid");
            return (Criteria) this;
        }

        public Criteria andUserSidNotBetween(String value1, String value2) {
            addCriterion("user_sid not between", value1, value2, "userSid");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Date value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<Date> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<Date> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andTeacherNameIsNull() {
            addCriterion("teacher_name is null");
            return (Criteria) this;
        }

        public Criteria andTeacherNameIsNotNull() {
            addCriterion("teacher_name is not null");
            return (Criteria) this;
        }

        public Criteria andTeacherNameEqualTo(String value) {
            addCriterion("teacher_name =", value, "teacherName");
            return (Criteria) this;
        }

        public Criteria andTeacherNameNotEqualTo(String value) {
            addCriterion("teacher_name <>", value, "teacherName");
            return (Criteria) this;
        }

        public Criteria andTeacherNameGreaterThan(String value) {
            addCriterion("teacher_name >", value, "teacherName");
            return (Criteria) this;
        }

        public Criteria andTeacherNameGreaterThanOrEqualTo(String value) {
            addCriterion("teacher_name >=", value, "teacherName");
            return (Criteria) this;
        }

        public Criteria andTeacherNameLessThan(String value) {
            addCriterion("teacher_name <", value, "teacherName");
            return (Criteria) this;
        }

        public Criteria andTeacherNameLessThanOrEqualTo(String value) {
            addCriterion("teacher_name <=", value, "teacherName");
            return (Criteria) this;
        }

        public Criteria andTeacherNameLike(String value) {
            addCriterion("teacher_name like", value, "teacherName");
            return (Criteria) this;
        }

        public Criteria andTeacherNameNotLike(String value) {
            addCriterion("teacher_name not like", value, "teacherName");
            return (Criteria) this;
        }

        public Criteria andTeacherNameIn(List<String> values) {
            addCriterion("teacher_name in", values, "teacherName");
            return (Criteria) this;
        }

        public Criteria andTeacherNameNotIn(List<String> values) {
            addCriterion("teacher_name not in", values, "teacherName");
            return (Criteria) this;
        }

        public Criteria andTeacherNameBetween(String value1, String value2) {
            addCriterion("teacher_name between", value1, value2, "teacherName");
            return (Criteria) this;
        }

        public Criteria andTeacherNameNotBetween(String value1, String value2) {
            addCriterion("teacher_name not between", value1, value2, "teacherName");
            return (Criteria) this;
        }

        public Criteria andTeacherIdIsNull() {
            addCriterion("teacher_id is null");
            return (Criteria) this;
        }

        public Criteria andTeacherIdIsNotNull() {
            addCriterion("teacher_id is not null");
            return (Criteria) this;
        }

        public Criteria andTeacherIdEqualTo(String value) {
            addCriterion("teacher_id =", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdNotEqualTo(String value) {
            addCriterion("teacher_id <>", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdGreaterThan(String value) {
            addCriterion("teacher_id >", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdGreaterThanOrEqualTo(String value) {
            addCriterion("teacher_id >=", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdLessThan(String value) {
            addCriterion("teacher_id <", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdLessThanOrEqualTo(String value) {
            addCriterion("teacher_id <=", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdLike(String value) {
            addCriterion("teacher_id like", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdNotLike(String value) {
            addCriterion("teacher_id not like", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdIn(List<String> values) {
            addCriterion("teacher_id in", values, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdNotIn(List<String> values) {
            addCriterion("teacher_id not in", values, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdBetween(String value1, String value2) {
            addCriterion("teacher_id between", value1, value2, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdNotBetween(String value1, String value2) {
            addCriterion("teacher_id not between", value1, value2, "teacherId");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIsNull() {
            addCriterion("course_type is null");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIsNotNull() {
            addCriterion("course_type is not null");
            return (Criteria) this;
        }

        public Criteria andCourseTypeEqualTo(String value) {
            addCriterion("course_type =", value, "courseType");
            return (Criteria) this;
        }

        public Criteria andCourseTypeNotEqualTo(String value) {
            addCriterion("course_type <>", value, "courseType");
            return (Criteria) this;
        }

        public Criteria andCourseTypeGreaterThan(String value) {
            addCriterion("course_type >", value, "courseType");
            return (Criteria) this;
        }

        public Criteria andCourseTypeGreaterThanOrEqualTo(String value) {
            addCriterion("course_type >=", value, "courseType");
            return (Criteria) this;
        }

        public Criteria andCourseTypeLessThan(String value) {
            addCriterion("course_type <", value, "courseType");
            return (Criteria) this;
        }

        public Criteria andCourseTypeLessThanOrEqualTo(String value) {
            addCriterion("course_type <=", value, "courseType");
            return (Criteria) this;
        }

        public Criteria andCourseTypeLike(String value) {
            addCriterion("course_type like", value, "courseType");
            return (Criteria) this;
        }

        public Criteria andCourseTypeNotLike(String value) {
            addCriterion("course_type not like", value, "courseType");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIn(List<String> values) {
            addCriterion("course_type in", values, "courseType");
            return (Criteria) this;
        }

        public Criteria andCourseTypeNotIn(List<String> values) {
            addCriterion("course_type not in", values, "courseType");
            return (Criteria) this;
        }

        public Criteria andCourseTypeBetween(String value1, String value2) {
            addCriterion("course_type between", value1, value2, "courseType");
            return (Criteria) this;
        }

        public Criteria andCourseTypeNotBetween(String value1, String value2) {
            addCriterion("course_type not between", value1, value2, "courseType");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicIsNull() {
            addCriterion("main_course_pic is null");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicIsNotNull() {
            addCriterion("main_course_pic is not null");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicEqualTo(String value) {
            addCriterion("main_course_pic =", value, "mainCoursePic");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicNotEqualTo(String value) {
            addCriterion("main_course_pic <>", value, "mainCoursePic");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicGreaterThan(String value) {
            addCriterion("main_course_pic >", value, "mainCoursePic");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicGreaterThanOrEqualTo(String value) {
            addCriterion("main_course_pic >=", value, "mainCoursePic");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicLessThan(String value) {
            addCriterion("main_course_pic <", value, "mainCoursePic");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicLessThanOrEqualTo(String value) {
            addCriterion("main_course_pic <=", value, "mainCoursePic");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicLike(String value) {
            addCriterion("main_course_pic like", value, "mainCoursePic");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicNotLike(String value) {
            addCriterion("main_course_pic not like", value, "mainCoursePic");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicIn(List<String> values) {
            addCriterion("main_course_pic in", values, "mainCoursePic");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicNotIn(List<String> values) {
            addCriterion("main_course_pic not in", values, "mainCoursePic");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicBetween(String value1, String value2) {
            addCriterion("main_course_pic between", value1, value2, "mainCoursePic");
            return (Criteria) this;
        }

        public Criteria andMainCoursePicNotBetween(String value1, String value2) {
            addCriterion("main_course_pic not between", value1, value2, "mainCoursePic");
            return (Criteria) this;
        }

        public Criteria andStudyNumIsNull() {
            addCriterion("study_num is null");
            return (Criteria) this;
        }

        public Criteria andStudyNumIsNotNull() {
            addCriterion("study_num is not null");
            return (Criteria) this;
        }

        public Criteria andStudyNumEqualTo(String value) {
            addCriterion("study_num =", value, "studyNum");
            return (Criteria) this;
        }

        public Criteria andStudyNumNotEqualTo(String value) {
            addCriterion("study_num <>", value, "studyNum");
            return (Criteria) this;
        }

        public Criteria andStudyNumGreaterThan(String value) {
            addCriterion("study_num >", value, "studyNum");
            return (Criteria) this;
        }

        public Criteria andStudyNumGreaterThanOrEqualTo(String value) {
            addCriterion("study_num >=", value, "studyNum");
            return (Criteria) this;
        }

        public Criteria andStudyNumLessThan(String value) {
            addCriterion("study_num <", value, "studyNum");
            return (Criteria) this;
        }

        public Criteria andStudyNumLessThanOrEqualTo(String value) {
            addCriterion("study_num <=", value, "studyNum");
            return (Criteria) this;
        }

        public Criteria andStudyNumLike(String value) {
            addCriterion("study_num like", value, "studyNum");
            return (Criteria) this;
        }

        public Criteria andStudyNumNotLike(String value) {
            addCriterion("study_num not like", value, "studyNum");
            return (Criteria) this;
        }

        public Criteria andStudyNumIn(List<String> values) {
            addCriterion("study_num in", values, "studyNum");
            return (Criteria) this;
        }

        public Criteria andStudyNumNotIn(List<String> values) {
            addCriterion("study_num not in", values, "studyNum");
            return (Criteria) this;
        }

        public Criteria andStudyNumBetween(String value1, String value2) {
            addCriterion("study_num between", value1, value2, "studyNum");
            return (Criteria) this;
        }

        public Criteria andStudyNumNotBetween(String value1, String value2) {
            addCriterion("study_num not between", value1, value2, "studyNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumIsNull() {
            addCriterion("course_num is null");
            return (Criteria) this;
        }

        public Criteria andCourseNumIsNotNull() {
            addCriterion("course_num is not null");
            return (Criteria) this;
        }

        public Criteria andCourseNumEqualTo(Integer value) {
            addCriterion("course_num =", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumNotEqualTo(Integer value) {
            addCriterion("course_num <>", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumGreaterThan(Integer value) {
            addCriterion("course_num >", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("course_num >=", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumLessThan(Integer value) {
            addCriterion("course_num <", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumLessThanOrEqualTo(Integer value) {
            addCriterion("course_num <=", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumIn(List<Integer> values) {
            addCriterion("course_num in", values, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumNotIn(List<Integer> values) {
            addCriterion("course_num not in", values, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumBetween(Integer value1, Integer value2) {
            addCriterion("course_num between", value1, value2, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumNotBetween(Integer value1, Integer value2) {
            addCriterion("course_num not between", value1, value2, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyIsNull() {
            addCriterion("course_categroy is null");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyIsNotNull() {
            addCriterion("course_categroy is not null");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyEqualTo(String value) {
            addCriterion("course_categroy =", value, "courseCategroy");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyNotEqualTo(String value) {
            addCriterion("course_categroy <>", value, "courseCategroy");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyGreaterThan(String value) {
            addCriterion("course_categroy >", value, "courseCategroy");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyGreaterThanOrEqualTo(String value) {
            addCriterion("course_categroy >=", value, "courseCategroy");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyLessThan(String value) {
            addCriterion("course_categroy <", value, "courseCategroy");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyLessThanOrEqualTo(String value) {
            addCriterion("course_categroy <=", value, "courseCategroy");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyLike(String value) {
            addCriterion("course_categroy like", value, "courseCategroy");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyNotLike(String value) {
            addCriterion("course_categroy not like", value, "courseCategroy");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyIn(List<String> values) {
            addCriterion("course_categroy in", values, "courseCategroy");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyNotIn(List<String> values) {
            addCriterion("course_categroy not in", values, "courseCategroy");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyBetween(String value1, String value2) {
            addCriterion("course_categroy between", value1, value2, "courseCategroy");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyNotBetween(String value1, String value2) {
            addCriterion("course_categroy not between", value1, value2, "courseCategroy");
            return (Criteria) this;
        }

        public Criteria andCourseLevelIsNull() {
            addCriterion("course_level is null");
            return (Criteria) this;
        }

        public Criteria andCourseLevelIsNotNull() {
            addCriterion("course_level is not null");
            return (Criteria) this;
        }

        public Criteria andCourseLevelEqualTo(String value) {
            addCriterion("course_level =", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelNotEqualTo(String value) {
            addCriterion("course_level <>", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelGreaterThan(String value) {
            addCriterion("course_level >", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelGreaterThanOrEqualTo(String value) {
            addCriterion("course_level >=", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelLessThan(String value) {
            addCriterion("course_level <", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelLessThanOrEqualTo(String value) {
            addCriterion("course_level <=", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelLike(String value) {
            addCriterion("course_level like", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelNotLike(String value) {
            addCriterion("course_level not like", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelIn(List<String> values) {
            addCriterion("course_level in", values, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelNotIn(List<String> values) {
            addCriterion("course_level not in", values, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelBetween(String value1, String value2) {
            addCriterion("course_level between", value1, value2, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelNotBetween(String value1, String value2) {
            addCriterion("course_level not between", value1, value2, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseSiteIsNull() {
            addCriterion("course_site is null");
            return (Criteria) this;
        }

        public Criteria andCourseSiteIsNotNull() {
            addCriterion("course_site is not null");
            return (Criteria) this;
        }

        public Criteria andCourseSiteEqualTo(String value) {
            addCriterion("course_site =", value, "courseSite");
            return (Criteria) this;
        }

        public Criteria andCourseSiteNotEqualTo(String value) {
            addCriterion("course_site <>", value, "courseSite");
            return (Criteria) this;
        }

        public Criteria andCourseSiteGreaterThan(String value) {
            addCriterion("course_site >", value, "courseSite");
            return (Criteria) this;
        }

        public Criteria andCourseSiteGreaterThanOrEqualTo(String value) {
            addCriterion("course_site >=", value, "courseSite");
            return (Criteria) this;
        }

        public Criteria andCourseSiteLessThan(String value) {
            addCriterion("course_site <", value, "courseSite");
            return (Criteria) this;
        }

        public Criteria andCourseSiteLessThanOrEqualTo(String value) {
            addCriterion("course_site <=", value, "courseSite");
            return (Criteria) this;
        }

        public Criteria andCourseSiteLike(String value) {
            addCriterion("course_site like", value, "courseSite");
            return (Criteria) this;
        }

        public Criteria andCourseSiteNotLike(String value) {
            addCriterion("course_site not like", value, "courseSite");
            return (Criteria) this;
        }

        public Criteria andCourseSiteIn(List<String> values) {
            addCriterion("course_site in", values, "courseSite");
            return (Criteria) this;
        }

        public Criteria andCourseSiteNotIn(List<String> values) {
            addCriterion("course_site not in", values, "courseSite");
            return (Criteria) this;
        }

        public Criteria andCourseSiteBetween(String value1, String value2) {
            addCriterion("course_site between", value1, value2, "courseSite");
            return (Criteria) this;
        }

        public Criteria andCourseSiteNotBetween(String value1, String value2) {
            addCriterion("course_site not between", value1, value2, "courseSite");
            return (Criteria) this;
        }

        public Criteria andCheckStatusIsNull() {
            addCriterion("check_status is null");
            return (Criteria) this;
        }

        public Criteria andCheckStatusIsNotNull() {
            addCriterion("check_status is not null");
            return (Criteria) this;
        }

        public Criteria andCheckStatusEqualTo(String value) {
            addCriterion("check_status =", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusNotEqualTo(String value) {
            addCriterion("check_status <>", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusGreaterThan(String value) {
            addCriterion("check_status >", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusGreaterThanOrEqualTo(String value) {
            addCriterion("check_status >=", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusLessThan(String value) {
            addCriterion("check_status <", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusLessThanOrEqualTo(String value) {
            addCriterion("check_status <=", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusLike(String value) {
            addCriterion("check_status like", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusNotLike(String value) {
            addCriterion("check_status not like", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusIn(List<String> values) {
            addCriterion("check_status in", values, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusNotIn(List<String> values) {
            addCriterion("check_status not in", values, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusBetween(String value1, String value2) {
            addCriterion("check_status between", value1, value2, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusNotBetween(String value1, String value2) {
            addCriterion("check_status not between", value1, value2, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("comment is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("comment is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("comment =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("comment <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("comment >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("comment >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("comment <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("comment <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("comment like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("comment not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("comment in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("comment not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("comment between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("comment not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeIsNull() {
            addCriterion("course_categroy_code is null");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeIsNotNull() {
            addCriterion("course_categroy_code is not null");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeEqualTo(String value) {
            addCriterion("course_categroy_code =", value, "courseCategroyCode");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeNotEqualTo(String value) {
            addCriterion("course_categroy_code <>", value, "courseCategroyCode");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeGreaterThan(String value) {
            addCriterion("course_categroy_code >", value, "courseCategroyCode");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeGreaterThanOrEqualTo(String value) {
            addCriterion("course_categroy_code >=", value, "courseCategroyCode");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeLessThan(String value) {
            addCriterion("course_categroy_code <", value, "courseCategroyCode");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeLessThanOrEqualTo(String value) {
            addCriterion("course_categroy_code <=", value, "courseCategroyCode");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeLike(String value) {
            addCriterion("course_categroy_code like", value, "courseCategroyCode");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeNotLike(String value) {
            addCriterion("course_categroy_code not like", value, "courseCategroyCode");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeIn(List<String> values) {
            addCriterion("course_categroy_code in", values, "courseCategroyCode");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeNotIn(List<String> values) {
            addCriterion("course_categroy_code not in", values, "courseCategroyCode");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeBetween(String value1, String value2) {
            addCriterion("course_categroy_code between", value1, value2, "courseCategroyCode");
            return (Criteria) this;
        }

        public Criteria andCourseCategroyCodeNotBetween(String value1, String value2) {
            addCriterion("course_categroy_code not between", value1, value2, "courseCategroyCode");
            return (Criteria) this;
        }

        public Criteria andStudentNumIsNull() {
            addCriterion("student_num is null");
            return (Criteria) this;
        }

        public Criteria andStudentNumIsNotNull() {
            addCriterion("student_num is not null");
            return (Criteria) this;
        }

        public Criteria andStudentNumEqualTo(Integer value) {
            addCriterion("student_num =", value, "studentNum");
            return (Criteria) this;
        }

        public Criteria andStudentNumNotEqualTo(Integer value) {
            addCriterion("student_num <>", value, "studentNum");
            return (Criteria) this;
        }

        public Criteria andStudentNumGreaterThan(Integer value) {
            addCriterion("student_num >", value, "studentNum");
            return (Criteria) this;
        }

        public Criteria andStudentNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("student_num >=", value, "studentNum");
            return (Criteria) this;
        }

        public Criteria andStudentNumLessThan(Integer value) {
            addCriterion("student_num <", value, "studentNum");
            return (Criteria) this;
        }

        public Criteria andStudentNumLessThanOrEqualTo(Integer value) {
            addCriterion("student_num <=", value, "studentNum");
            return (Criteria) this;
        }

        public Criteria andStudentNumIn(List<Integer> values) {
            addCriterion("student_num in", values, "studentNum");
            return (Criteria) this;
        }

        public Criteria andStudentNumNotIn(List<Integer> values) {
            addCriterion("student_num not in", values, "studentNum");
            return (Criteria) this;
        }

        public Criteria andStudentNumBetween(Integer value1, Integer value2) {
            addCriterion("student_num between", value1, value2, "studentNum");
            return (Criteria) this;
        }

        public Criteria andStudentNumNotBetween(Integer value1, Integer value2) {
            addCriterion("student_num not between", value1, value2, "studentNum");
            return (Criteria) this;
        }

        public Criteria andCourseRankIsNull() {
            addCriterion("course_rank is null");
            return (Criteria) this;
        }

        public Criteria andCourseRankIsNotNull() {
            addCriterion("course_rank is not null");
            return (Criteria) this;
        }

        public Criteria andCourseRankEqualTo(String value) {
            addCriterion("course_rank =", value, "courseRank");
            return (Criteria) this;
        }

        public Criteria andCourseRankNotEqualTo(String value) {
            addCriterion("course_rank <>", value, "courseRank");
            return (Criteria) this;
        }

        public Criteria andCourseRankGreaterThan(String value) {
            addCriterion("course_rank >", value, "courseRank");
            return (Criteria) this;
        }

        public Criteria andCourseRankGreaterThanOrEqualTo(String value) {
            addCriterion("course_rank >=", value, "courseRank");
            return (Criteria) this;
        }

        public Criteria andCourseRankLessThan(String value) {
            addCriterion("course_rank <", value, "courseRank");
            return (Criteria) this;
        }

        public Criteria andCourseRankLessThanOrEqualTo(String value) {
            addCriterion("course_rank <=", value, "courseRank");
            return (Criteria) this;
        }

        public Criteria andCourseRankLike(String value) {
            addCriterion("course_rank like", value, "courseRank");
            return (Criteria) this;
        }

        public Criteria andCourseRankNotLike(String value) {
            addCriterion("course_rank not like", value, "courseRank");
            return (Criteria) this;
        }

        public Criteria andCourseRankIn(List<String> values) {
            addCriterion("course_rank in", values, "courseRank");
            return (Criteria) this;
        }

        public Criteria andCourseRankNotIn(List<String> values) {
            addCriterion("course_rank not in", values, "courseRank");
            return (Criteria) this;
        }

        public Criteria andCourseRankBetween(String value1, String value2) {
            addCriterion("course_rank between", value1, value2, "courseRank");
            return (Criteria) this;
        }

        public Criteria andCourseRankNotBetween(String value1, String value2) {
            addCriterion("course_rank not between", value1, value2, "courseRank");
            return (Criteria) this;
        }

        public Criteria andSupportNumIsNull() {
            addCriterion("support_num is null");
            return (Criteria) this;
        }

        public Criteria andSupportNumIsNotNull() {
            addCriterion("support_num is not null");
            return (Criteria) this;
        }

        public Criteria andSupportNumEqualTo(Integer value) {
            addCriterion("support_num =", value, "supportNum");
            return (Criteria) this;
        }

        public Criteria andSupportNumNotEqualTo(Integer value) {
            addCriterion("support_num <>", value, "supportNum");
            return (Criteria) this;
        }

        public Criteria andSupportNumGreaterThan(Integer value) {
            addCriterion("support_num >", value, "supportNum");
            return (Criteria) this;
        }

        public Criteria andSupportNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("support_num >=", value, "supportNum");
            return (Criteria) this;
        }

        public Criteria andSupportNumLessThan(Integer value) {
            addCriterion("support_num <", value, "supportNum");
            return (Criteria) this;
        }

        public Criteria andSupportNumLessThanOrEqualTo(Integer value) {
            addCriterion("support_num <=", value, "supportNum");
            return (Criteria) this;
        }

        public Criteria andSupportNumIn(List<Integer> values) {
            addCriterion("support_num in", values, "supportNum");
            return (Criteria) this;
        }

        public Criteria andSupportNumNotIn(List<Integer> values) {
            addCriterion("support_num not in", values, "supportNum");
            return (Criteria) this;
        }

        public Criteria andSupportNumBetween(Integer value1, Integer value2) {
            addCriterion("support_num between", value1, value2, "supportNum");
            return (Criteria) this;
        }

        public Criteria andSupportNumNotBetween(Integer value1, Integer value2) {
            addCriterion("support_num not between", value1, value2, "supportNum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }
}